package com.lh.java.basic.clone;

import java.util.Date;

/**
 ***************************************************************************** 
 ** Module : 消息实体
 ** 
 ** Date: 2011-4-26 Time: 下午12:11:20
 ** 
 ** Author: 田志祥 (seara)
 ** 
 ** Email: seara@qq.com
 ** 
 ** (C) Copyright 2011 广州赢典信息科技有限公司
 ***************************************************************************** 
 */
public class MessageInfo implements Cloneable {
	private Integer id;// 主键
	private String title;// 主题
	private String content;// 内容
	private Integer send_user_id;// 发件人ID
	private Date send_time;// 发件时间
	@Override
	protected Object clone() throws CloneNotSupportedException {
		MessageInfo mi=null;
		try{
			mi=(MessageInfo) super.clone();
		}catch (CloneNotSupportedException e) {
			System.err.println("MessageInfo is CloneNotSupportedException");
		}
		
		return mi;
	}
	
	private Integer receive_user_id;//收件人账号ID

	private Byte msg_read_flag;// 消息读取状态，0：未读，1：已读
	private Byte messageType;//消息类型 null或者0是站内消息，1是邮件
	
//*********************查询的属性*******************************************************
	
	private String send_user_name;// 发件人名
	private String receive_user_name;//收件人名
	
//*********************查询的属性  end***************************************************
	
//*********************页面传参 属性  ***************************************************	
	
	private String receiveuserids;//收件人ID 组成的
	
	private String receive_user_emailAddress;//邮件地址
	
//*********************页面传参 属性  end************************************************
	
	
	public Integer getId() {
		return id;
	}

	public String getSend_user_name() {
		return send_user_name;
	}

	public String getReceiveuserids() {
		return receiveuserids;
	}

	public void setReceiveuserids(String receiveuserids) {
		this.receiveuserids = receiveuserids;
	}

	public void setSend_user_name(String sendUserName) {
		send_user_name = sendUserName;
	}

	public String getReceive_user_name() {
		return receive_user_name;
	}

	public void setReceive_user_name(String receiveUserName) {
		receive_user_name = receiveUserName;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getSend_user_id() {
		return send_user_id;
	}

	public void setSend_user_id(Integer send_user_id) {
		this.send_user_id = send_user_id;
	}

	public Date getSend_time() {
		return send_time;
	}

	public void setSend_time(Date send_time) {
		this.send_time = send_time;
	}

	public Integer getReceive_user_id() {
		return receive_user_id;
	}

	public void setReceive_user_id(Integer receive_user_id) {
		this.receive_user_id = receive_user_id;
	}

	public Byte getMsg_read_flag() {
		return msg_read_flag;
	}

	public void setMsg_read_flag(Byte msg_read_flag) {
		this.msg_read_flag = msg_read_flag;
	}

	public String getReceive_user_emailAddress() {
		return receive_user_emailAddress;
	}

	public void setReceive_user_emailAddress(String receive_user_emailAddress) {
		this.receive_user_emailAddress = receive_user_emailAddress;
	}

	public Byte getMessageType() {
		return messageType;
	}

	public void setMessageType(Byte messageType) {
		this.messageType = messageType;
	}

}